home *** CD-ROM | disk | FTP | other *** search
- ## -*-Tcl-*-
- # ==========================================================================
- # Mode Examples - a Help package for Alpha
- #
- # FILE: "Shell-Example.tcl"
- # created: 10/17/00 {02:18:43 pm}
- # last update: 10/19/00 {04:20:08 pm}
- # Description:
- #
- # Script for the "Shell Example" in the Mode Examples package.
- #
- # Author: Craig Barton Upright
- # E-mail: <cupright@princeton.edu>
- # mail: Princeton University, Department of Sociology
- # Princeton, New Jersey 08544
- # www: <http://www.princeton.edu/~cupright>
- #
- # ==========================================================================
- ##
-
- # The "catch" is necessary due to some changes in "Shel::carriageReturn"
-
- shell
-
- insertText "cd \[file join \$HOME\]"
- catch {Shel::carriageReturn}
-
- insertText "cd \[file join \$HOME \"Mode Examples\"\]"
- catch {Shel::carriageReturn}
-
- insertText "glob -dir \[file join \$HOME \"Mode Examples\"\] \*"
- catch {Shel::carriageReturn}
-
- insertText "version"
- catch {Shel::carriageReturn}
-
- insertText "alertnote \"Hello World.\""
- catch {Shel::carriageReturn}
-
-